@using BootBlazor.Servers.Auth
@using BootBlazor.Servers.Data.Entities.Ai
@using BootBlazor.Servers.Helper
@using BootBlazor.Servers.Data
@using BootBlazor.Servers.Services
@inject IDbContextFactory<BootBlazorDbContext> _dbFactory

<MudDialog>
    <DialogContent>
        <MudText>@Loc["AIRequestRecord_RequestContent"]:<br />@Record?.RequestContent</MudText>
        <MudText>@Loc["AIRequestRecord_ResponseContent"]:<br />@Record?.ResponseContent</MudText>
    </DialogContent>
    <DialogActions>
        <MudButton OnClick="Cancel">@Loc["Button_Close"]</MudButton>
    </DialogActions>
</MudDialog>
